import axios from '@/utils/request'

export const getStationsInfo = ()=>{
    let stationsInfo = axios.get('/index/jcdata/fieldDevice/crtStationsInfo')
    return stationsInfo
}

export const getCrtListInfo = (data)=>{
    let crtListInfo = axios.post('/index/jcdata/fieldDevice/crtListInfo',data)
    return crtListInfo
}

export const editCrtListInfo = (type,form)=>{
    let editCrtListInfo = axios.post('/index/jcdata/fieldDevice/editCrtListInfo',{ type,form })
    return editCrtListInfo
}

export const editManyCrtListInfo = (type,form)=>{
    let editManyCrtListInfo = axios.post('/index/jcdata/fieldDevice/editManyCrtListInfo',{ type,form })
    return editManyCrtListInfo
}